package com.yf.notify.modules.notify.dto;

import com.yf.base.api.annon.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import java.util.Date;

import java.io.Serializable;

/**
* <p>
* 消息记录数据传输类
* </p>
*
* @author 聪明笨狗
* @since 2022-11-08 10:54
*/
@Data
@ApiModel(value="消息记录", description="消息记录")
public class MsgReadDTO implements Serializable {

    private static final long serialVersionUID = 1L;


    @ApiModelProperty(value = "ID", required=true)
    private String id;

    @ApiModelProperty(value = "消息ID")
    private String msgId;

    @ApiModelProperty(value = "手机号或邮箱")
    private String receiver;


    @Dict(dictTable = "sys_user", dicText = "real_name", dicCode = "id")
    @ApiModelProperty(value = "用户ID")
    private String userId;
    private String userId_dictText;

    @ApiModelProperty(value = "消息类型1站内信2手机短信3社交媒体4电子邮件")
    private Integer msgType;

    @Dict(dicCode = "msg_read")
    @ApiModelProperty(value = "已读状态")
    private Integer readState;
    private String readState_dictText;

    @ApiModelProperty(value = "阅读时间")
    private Date readTime;
    
}
